package ca.etsmtl.log430.lab3.donnee.beans;

import java.util.ArrayList;

/**
 * 
 * @author samuel
 *
 */
public class CourseBeanBuilder {
	/**
	 * Course title
	 * @uml.property  name="courseName"
	 */
	private  String courseName;

	/**
	 * Course ID
	 * @uml.property  name="courseID"
	 */
	private  String courseID;

	/**
	 * Course type (course = CRS, laboratory = LAB)
	 * @uml.property  name="type"
	 */
	private  String type;

	/**
	 * Course group
	 * @uml.property  name="group"
	 */
	private  String group;

	/**
	 * Day the course is held on
	 * @uml.property  name="day"
	 */
	private  String day;

	/**
	 * Start time of the course
	 * @uml.property  name="startTime"
	 */
	private   String startTime;

	/**
	 * Stop time of the course
	 * @uml.property  name="stopTime"
	 */
	private  String stopTime;

	/**
	 * @uml.property  name="teachersAssigned"
	 */
	private ArrayList<String> teachersAssigned=new ArrayList<String>();

	/**
	 * @param courseName
	 * @uml.property  name="courseName"
	 */
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	/**
	 * @param courseID
	 * @uml.property  name="courseID"
	 */
	public void setCourseID(String courseID) {
		this.courseID = courseID;
	}

	/**
	 * @param type
	 * @uml.property  name="type"
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * @param group
	 * @uml.property  name="group"
	 */
	public void setGroup(String group) {
		this.group = group;
	}

	/**
	 * @param day
	 * @uml.property  name="day"
	 */
	public void setDay(String day) {
		this.day = day;
	}

	/**
	 * @param startTime
	 * @uml.property  name="startTime"
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	/**
	 * @param stopTime
	 * @uml.property  name="stopTime"
	 */
	public void setStopTime(String stopTime) {
		this.stopTime = stopTime;
	}
	
	public CourseBean build()
	{
		return new CourseBean(courseName, courseID, type, group, day, startTime, stopTime, teachersAssigned);
	}
}
